package com.hsxxherp.ation.business.user.center.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hsxxherp.ation.business.user.center.entity.UcUserEntity;
import com.hsxxherp.ation.business.user.dto.LoginByEmailRequest;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Baomidou
 * @since 2024-06-16
 */
public interface IUcUserService extends IService<UcUserEntity> {
    /**
     * 保存用户
     *
     * @param params 前端传递的用户数据
     * @return
     */
    boolean saveUSer(Map<String, Object> params);

    /**
     * 通过邮箱登录
     *
     * @param loginByEmailRequest
     * @return
     */
    boolean loginByEmail(LoginByEmailRequest loginByEmailRequest);
}
